home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Languguage OS 2
/
Languguage OS II Version 10-94 (Knowledge Media)(1994).ISO
/
language
/
embedded
/
simulato
/
v2_3_mc6.tz
/
v2_3_mc6
/
testfiles
/
divs.asm
< prev
next >
Wrap
Assembly Source File
|
1994-05-02
|
297b
|
15 lines
;
; divs.asm
; C. Ward. 2/18/93
; Demo program to test signed division. At the conclusion
; check the value of d0, it should contain 00050035, i.e.
; the quotient is $0008 and the remainder is $0035.
;
org $1000
move.l #800,d0
divs #15,d0
move #228,d7
trap #14
end